<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/26
 * Time: 20:16
 */
class Site_model extends MY_Model
{
    public function __construct()
    {
        parent::__construct();
    }

    public function testGet()
    {
        $query = $this->db->get_where('site', null, 1);
        echo $this->db->last_query();
        return $query->row_array();
    }
}